home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / bash_114.zip / bash-1.14.2 / externs.h < prev    next >
C/C++ Source or Header  |  1994-04-05  |  2KB  |  67 lines

  1. /* externs.h -- extern function declarations which do not appear in their
  2.    own header file. */
  3.  
  4. /* Copyright (C) 1993 Free Software Foundation, Inc.
  5.  
  6.    This file is part of GNU Bash, the Bourne Again SHell.
  7.  
  8.    Bash is free software; you can redistribute it and/or modify it under
  9.    the terms of the GNU General Public License as published by the Free
  10.    Software Foundation; either version 2, or (at your option) any later
  11.    version.
  12.  
  13.    Bash is distributed in the hope that it will be useful, but WITHOUT ANY
  14.    WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15.    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  16.    for more details.
  17.  
  18.    You should have received a copy of the GNU General Public License along
  19.    with Bash; see the file COPYING.  If not, write to the Free Software
  20.    Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
  21.  
  22. /* Make sure that this is included *after* config.h! */
  23.  
  24. #if !defined (__EXTERNS_H__)
  25. #  define __EXTERNS_H__
  26.  
  27. #include "stdc.h"
  28.  
  29. /* Functions from expr.c. */
  30. extern long evalexp __P((char *));
  31.  
  32. /* Functions from print_cmd.c. */
  33. extern char *make_command_string __P((COMMAND *));
  34. extern void print_command __P((COMMAND *));
  35. extern void print_simple_command __P((SIMPLE_COM *));
  36. extern char *named_function_string __P((char *, COMMAND *, int));
  37.  
  38. /* Functions from shell.c. */
  39. extern int maybe_execute_file __P((char *, int));
  40. extern char *indirection_level_string __P((void));
  41. extern sighandler termination_unwind_protect __P((int));
  42. extern sighandler sigint_sighandler __P((int));
  43. extern void reset_terminating_signals __P((void));
  44. extern char *shell_version_string __P((void));
  45. extern void show_shell_version __P((void));
  46.  
  47. /* Functions from test.c. */
  48. extern int group_member ();
  49.  
  50. /* Functions from braces.c. */
  51. #if defined (BRACE_EXPANSION)
  52. extern char **brace_expand __P((char *));
  53. #endif
  54.  
  55. /* Functions from mailcheck.c */
  56. extern int time_to_check_mail __P((void));
  57. extern void reset_mail_timer __P((void));
  58. extern void reset_mail_files __P((void));
  59. extern void free_mail_files __P((void));
  60. extern void remember_mail_dates __P((void));
  61. extern void check_mail __P((void));
  62.  
  63. /* Miscellaneous functions not declared anywhere but used. */
  64. extern char **glob_filename __P((char *));
  65.  
  66. #endif /* __EXTERNS_H__ */
  67.